<?php
	$this->title('Add Psychological Test Entry');
?>

<h3><?=$this->title();?></h3>

<?=$this->form->create($psychologicalTestAnswer);?>
<?=$this->form->label('Patient');?>
<?php
	$patientCollection = array();
	foreach ($patients as $patient) {
		$patientCollection[$patient->id] = $patient->PatID;
	}
?>
<?=$this->form->select('patient_id', $patientCollection);?>

<?=$this->form->label('Anxiety Score');?>
<?=$this->form->select('qnumber1', $anxietyDropdown);?>
<?=$this->form->label('Depression Score');?>
<?=$this->form->select('qnumber2', $depressionDropDown);?>
<?=$this->form->label('Level of Cognition');?>
<?=$this->form->select('qnumber3', array('NA' => 'NA', 'Very Low' => 'Very Low', 'Low' => 'Low', 'Normal' => 'Normal', 'High' => 'High', 'Very High' => 'Very High'));?>
<?=$this->form->label('Global');?>
<?=$this->form->select('global', array('NA' => 'NA', 'Better' => 'Better', 'Same' => 'Same', 'Worse' => 'Worse'));?>
<?=$this->form->field('record_date', array('label' => 'Record Date'));?>
<?=$this->form->submit('Save'); ?>
<?=$this->form->end();?>